/**
 * @Author 12629
 * @Date 2022/4/26 21:22
 * @Description：
 */
public class Test2 {


    public static int add(int a,int b) {
        return a+b;
    }

    public static int add(int a,int b,int c){
        return a+b+c;
    }


    public static int add(int a,int b,int c,int d){
        return a+b+c;
    }

    public static double add(int a,double b,int c,int d){
        return a+b+c+d;
    }

    public static void main(String[] args) {
        System.out.println(add(1, 2));

        int a = 10;
        //int a = 20;
    }
}
